package com.globefrog.example.consumer;

import com.globefrog.example.ProviderServiceLocate;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author : Globe-Frog
 * @date : Create in 2021/7/8
 */
@MapperScan(basePackages = "com.globefrog.example.consumer")
@EnableEurekaClient
// 指明加载路径
@EnableFeignClients(basePackageClasses = {ProviderServiceLocate.class})
@SpringBootApplication
public class ConsumerApplication {

  public static void main(String[] args) {
    SpringApplication.run(ConsumerApplication.class, args);
  }
}
